﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/2/28 星期四 23:46:26
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;

namespace Sector7.Framework.EntityType
{
    /// <summary>
    /// 数据模板项
    /// </summary>
    [Serializable()]
    [DataContract]
    public class S7_DataTemplateItem : EntityBase
    {
        #region Accessor
        /// <summary>
        /// 获取或设置数据模板项编号
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public int TemplateItemId { get; set; }

        /// <summary>
        /// 获取或设置数据元系统内部编号
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string MetadataId { get; set; }

        /// <summary>
        /// 获取或设置数据模板编号
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public int TemplateId { get; set; }

        /// <summary>
        /// 获取或设置内部数据元信息
        /// </summary>
        [DataMember]
        public S7_Metadata Metadata { get; set; }
        #endregion
    }
}
